package com.example.daydayup.designPatterns.study13;

/**
 * Description: <br/>
 *
 * @author: wells <br/>
 * @since 2024-04-1 17:18
 */
public class EggsWithTomato extends Dish {

    @Override
    public void preparation() {
        System.out.println("洗并切西红柿，打鸡蛋。");
    }

    @Override
    public void doing() {
        System.out.println("鸡蛋倒入锅里，然后倒入西红柿一起炒。");
    }

    @Override
    public void carriedDishes() {
        System.out.println("将炒好的西红寺鸡蛋装入碟子里，端给客人吃。");
    }

}
